package com.autonavi.collapse.task.dispatch;

import com.autonavi.collapse.task.model.TaskConfig;
import com.autonavi.collapse.task.model.TaskRelation;

import java.util.List;

public class DispatchContext {

    private List<TaskNode> availableNodes;

    private List<TaskConfig> deadTasks;

    private List<TaskConfig> tasks;

    private List<TaskRelation> relations;

    public List<TaskNode> getAvailableNodes() {
        return availableNodes;
    }

    public void setAvailableNodes(List<TaskNode> availableNodes) {
        this.availableNodes = availableNodes;
    }

    public List<TaskConfig> getDeadTasks() {
        return deadTasks;
    }

    public void setDeadTasks(List<TaskConfig> deadTasks) {
        this.deadTasks = deadTasks;
    }

    public List<TaskConfig> getTasks() {
        return tasks;
    }

    public void setTasks(List<TaskConfig> tasks) {
        this.tasks = tasks;
    }

    public List<TaskRelation> getRelations() {
        return relations;
    }

    public void setRelations(List<TaskRelation> relations) {
        this.relations = relations;
    }
}
